home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_07
/
8n07025b
< prev
next >
Wrap
Text File
|
1990-06-17
|
349b
|
32 lines
#define NDEBUG
#include <assert.h>
void f(int i)
{
assert(i);
i ? assert(i - 4) : assert(i + 4);
if (i > 24)
assert(i * 3);
else
assert(i * 24);
}
#undef NDEBUG
#include <assert.h>
void g(int i)
{
assert(i);
i ? assert(i - 4) : assert(i + 4);
if (i > 24)
assert(i * 3);
else
assert(i * 24);
}